package com.sunday.canal.adapter.mongo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @Description: canal 配置
 * @Author: zsy
 * @Create: 2023/4/10 22:34
 */
@Data
@ConfigurationProperties(prefix = "sunday.canal")
public class CanalProperties {

    private List<String> destinations;

    private String zkServers;

    private String username;

    private String password;

}
